package top.healthylife.gateway.core.config;

import org.springframework.beans.factory.DisposableBean;
import org.springframework.stereotype.Component;

/**
 * 功能描述: DestorySystemInfo
 *
 * @author maoxiaomeng
 */
@Component
public class DestroySystemInfo implements DisposableBean {
    @Override
    public void destroy() throws Exception {
        SystemInit.destroyBeforeClose();
    }
}
